<!DOCTYPE html>
<html>
<head>
<title>更改角色</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta
	content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
	name="viewport">
<link rel="stylesheet" href="../../css/bootstrap.min.css">
<link rel="stylesheet" href="../../css/font-awesome.min.css">
<link rel="stylesheet"
	href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
<link rel="stylesheet"
	href="../../plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" href="../../css/main.css">
<script src="../../libs/jquery.min.js"></script>
<script src="../../plugins/layer/layer.js"></script>
<script src="../../libs/bootstrap.min.js"></script>
<script src="../../libs/vue.min.js"></script>
<script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
<script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
<script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
<script src="../../js/common.js"></script>
</head>
<body>
	<div id="rrapp" v-cloak>
			<div class="grid-btn">
				<div class="form-group col-sm-2">
					<input type="text" class="form-control" v-model="q.enterpriseName"
						@keyup.enter="query" placeholder="企业名称">
				</div>
				<a class="btn btn-primary" @click="query" style="float: left">查询</a>
				<div class="form-group col-sm-2">
					行业： <select name="module" v-model="q.moduleId">
						<option value="12" >种植</option>
						<option value="13">养殖</option>
						<option value="14">加工</option>
					</select> 角色： <select name="role" v-model="q.role">
						<option value="sc" >生产商</option>
						<option value="fw">服务商</option>
						<option value="jx">经销商</option>
					</select>
				</div>
				<a v-if="hasPermission('sys:change_role:change')" class="btn btn-primary"
					@click="changeRole">&nbsp;更改</a>
			</div>
			<table id="jqGrid"></table>
			<div id="jqGridPager"></div>
	</div>

	<script src="../../js/modules/sys/change_role.js"></script>
</body>
</html>